package com.foreknow.elm.dao;

import com.foreknow.elm.po.Orderdetailet;
import com.foreknow.elm.po.Orders;

import java.sql.SQLException;
import java.util.List;

public interface OrderdetailetDao {
    /**
     *
     * @param list
     * @return
     * @throws SQLException
     */
    public int save(List<Orderdetailet> list) throws SQLException;

    /**
     * 根据orderId获取订单明细集合
     * @param orders
     * @return
     * @throws SQLException
     */
    public List<Orderdetailet> save2(Orders orders) throws SQLException;
}
